package com.huawei.esdk.tp.domain.model;

import java.util.Date;
import java.util.List;

/**
 * 周期性会议
 * 
 * @author j00160659
 * 
 */
public class PeriodicalConference extends ScheduleConference
{

    //C30修改仅用于修改周期会议，子会议开始时间
    private Date subConfStartTime;
    
    //C30修改仅用于修改周期会议，子会议开始时间
    private String timeZone;
    
    private String frequency;

    private Integer interval;

    private List<Integer> weekDays;

    private Integer weekDay;

    private Integer monthDay;

    private Integer count;

    private Date endDate;

    public PeriodicalConfInstance getOneInstance(Date instanceData)
    {
        return new PeriodicalConfInstance(this);
    }

    public String getFrequency()
    {
        return frequency;
    }

    public void setFrequency(String frequency)
    {
        this.frequency = frequency;
    }

    public Integer getInterval()
    {
        return interval;
    }

    public void setInterval(Integer interval)
    {
        this.interval = interval;
    }

    public List<Integer> getWeekDays()
    {
        return weekDays;
    }

    public void setWeekDays(List<Integer> weekDays)
    {
        this.weekDays = weekDays;
    }

    public Integer getWeekDay()
    {
        return weekDay;
    }

    public void setWeekDay(Integer weekDay)
    {
        this.weekDay = weekDay;
    }

    public Integer getMonthDay()
    {
        return monthDay;
    }

    public void setMonthDay(Integer monthDay)
    {
        this.monthDay = monthDay;
    }

    public Integer getCount()
    {
        return count;
    }

    public void setCount(Integer count)
    {
        this.count = count;
    }

    public Date getEndDate()
    {
        if (null != endDate)
        {
            return (Date)endDate.clone();
        }
        else
        {
            return null;
        }
    }

    public void setEndDate(Date endDate)
    {
        if (null != endDate)
        {
            this.endDate = (Date)endDate.clone();
        }
    }

    public Date getSubConfStartTime()
    {
        if (null != subConfStartTime)
        {
            return (Date)subConfStartTime.clone();
        }
        else
        {
            return null;
        }
    }

    public void setSubConfStartTime(Date subConfStartTime)
    {
        if (null != subConfStartTime)
        {
            this.subConfStartTime = (Date)subConfStartTime.clone();
        }
    }

    public String getTimeZone()
    {
        return timeZone;
    }

    public void setTimeZone(String timeZone)
    {
        this.timeZone = timeZone;
    }

}
